package com.fc.happyteam.service.impl;


import com.fc.happyteam.dao.UserPermDao;
import com.fc.happyteam.service.IUserPermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service("userPermService")
public class UserPermServiceImpl implements IUserPermService {
    @Autowired
    private UserPermDao userPermDao;

    @Override
    public Set<String> queryPermissionSet(Long userId) {
        return userPermDao.queryPermSetByUserId(userId);
    }
}
